Fix “OBS did not shut down properly during your last session” in Linux
OBS is awesome program but sometimes boring because it is giving this error. Let me show fix error:
OBS is awesome program but sometimes boring because it is giving this error. Let me show fix error:
When we work on a project we need facilitator functions for strings. In rust we can make lots of things on strings (for example getting length, concataneting strings, split, trim etc) but unfortunatelly substring feature isn’t exist. When we make Devamı…
Programming history is too old (about half of the century or a little bit more) and lots of experienced and highly talented programmers, engineers and mathematicians are invented new paradigms and methods. Now we will look to imperative and declarative Devamı…
As you know Rust is null-safe language and no garbage collection. It has some pointers which have some rules for preventing shooting our foot. We can’t use pointers directly as we wish in Rust, we must use them behind of Devamı…
Generics are powerful thing for all languages. With generics you can create awesome algorithms. Rust has all requirements about generics and with that Rust took it one step further. So what the hell is where thing? Just imagine that, you Devamı…
Do you really want to Mutex for getting mutable reference to inner value of Arc? Actually no. You can use Arc::make_mut(&mut arc_clone) method. Let us code something: The output will be like that: As you see we can get mutable Devamı…
This issue took me 6 months to figure this out. Adding explicit lifetime to the biggest function is what will make it clear to the rust compiler that a and b need to stay in scope just as long as Devamı…
Every developer has own settings for each IDE. Because everybody have different habits and experiences. Now let me share my own settings for vscode. The config file path: .vscode/settings.json { “editor.tabSize”: 4, “search.exclude”: { “**/.git/objects/**”: true, “**/.git/subtree-cache/**”: true, Devamı…
Hi, in linux there isn’t auto update feature in vscode. Because of that we have to update it ourself. This is the easiest and fastest way for updateing vscode: wget ‘https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64’ -O code_latest_amd64.deb sudo dpkg -i code_latest_amd64.deb Happy coding…
Hi folks, I hope everything doing well. Novadays I’m using Ubuntu with Cinnamon desktop environment and I’m receiving a strange problem. The problem is keyboard ‘speed’ and ‘repeat’ settings resetting after sleep. This is so annoying problem but I found a Devamı…